package com.site.service;

import com.site.dao.HeadOtherDao;
import com.site.entity.HeadOtherEntity;

import java.sql.SQLException;
import java.util.List;

public class HeadOtherService {
    HeadOtherDao dao;
    public HeadOtherService() throws ClassNotFoundException, SQLException{
        dao=new HeadOtherDao();
    }

    public List<HeadOtherEntity> getAll() throws SQLException{
        return dao.getAll();
    }

}
